.device-list {
  padding: 20px;
  background: #f5f5f5;
  border-radius: 8px;
  margin: 20px;
}

.device-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.device-list-header h3 {
  margin: 0;
  color: #333;
}

.device-list-header button {
  padding: 8px 16px;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.device-list-header button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.ws-info {
  padding: 10px;
  background: #e3f2fd;
  border-radius: 4px;
  margin-bottom: 20px;
  color: #1976d2;
  font-family: monospace;
}

.no-devices {
  text-align: center;
  padding: 20px;
  color: #666;
  background: #fff;
  border-radius: 4px;
}

.device-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.device-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: white;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.device-info {
  flex: 1;
}

.device-model {
  font-weight: bold;
  color: #333;
  margin-bottom: 4px;
}

.device-id {
  color: #666;
  font-size: 0.9em;
  font-family: monospace;
  margin-bottom: 4px;
}

.connection-type {
  font-size: 0.9em;
  color: #1976d2;
  padding: 2px 8px;
  background: #e3f2fd;
  border-radius: 12px;
  display: inline-block;
}

.device-actions {
  display: flex;
  gap: 10px;
}

.device-actions button {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s;
}

.device-actions button:first-child {
  background: #2196F3;
  color: white;
}

.device-actions button.run-button {
  background: #4CAF50;
  color: white;
}

.device-actions button:hover {
  opacity: 0.9;
}

.device-actions button:active {
  transform: scale(0.98);
} 